package com.tamecode.bean.attr;

import java.util.*;

public class Boss {

//    private Car car;
    // 1.级联赋值时，需要先初始化对象
    private Car car = new Car();

    private List favorites = new ArrayList();

    private Map jobs = new HashMap();

    private Properties mails = new Properties();

    private Map<String, Integer> jobTimes = new HashMap<>();

    // 设置 Car 属性
    public void setCar(Car car) {
        this.car = car;
    }

    public Car getCar() {
        return car;
    }

    public List getFavorites() {
        return favorites;
    }

    public void setFavorites(List favorites) {
        this.favorites = favorites;
    }

    public Map getJobs() {
        return jobs;
    }

    public void setJobs(Map jobs) {
        this.jobs = jobs;
    }

    public Properties getMails() {
        return mails;
    }

    public void setMails(Properties mails) {
        this.mails = mails;
    }

    public Map<String, Integer> getJobTimes() {
        return jobTimes;
    }

    public void setJobTimes(Map<String, Integer> jobTimes) {
        this.jobTimes = jobTimes;
    }
}
